﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Galaktika.BI.Silverlight.Controls.OLAP.Descriptions
{
    public interface IPropertiesDescription
    {
        List<PropertyDescription> Properties { get; }
        PropertyDescription GetProperty(String name);
    }

    public class PropertyDescription
    {
        String m_Name = String.Empty;
        public String Name
        {
            get { return m_Name; }
            set { m_Name = value; }
        }

        Object m_Value = null;
        public Object Value
        {
            get { return m_Value; }
            set { m_Value = value; }
        }

        public PropertyDescription()
        { 
        
        }

        public PropertyDescription(String name, object value)
        {
            m_Name = name;
            m_Value = value;
        }
    }
}
